﻿// <copyright file="GeneratorDataList.cs" company="TenneySoftware">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>Robert Tenney</author>
// <email>rob10e@yahoo.com</email>
// <date>April 2009</date>
// <summary>Compund lists that are passed to and from the level generator and the engine.</summary>

// License:

// Product: RPGRoguelikeEngine .Net
// Author: Robert N. Tenney
// Copyright: April 2009

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation version 2
// of the License.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

// This license covers all source code, binaries, and other materials related to this project
// unless specifically stated otherwise.

using System;

namespace TenneySoftware.LevelGenerator {
    /// <summary>
    /// Compund lists that are passed to and from the level generator and the engine.
    /// </summary>
    public class GeneratorDataList {
        /// <summary>
        /// List of predefineds.
        /// </summary>
        private PredefineCollection predefineds;

        /// <summary>
        /// List of methods.
        /// </summary>
        private MethodCollection methods;

        /// <summary>
        /// List of properties.
        /// </summary>
        private PropertyCollection properties;

        /// <summary>
        /// Initializes a new instance of the GeneratorDataList class.
        /// </summary>
        public GeneratorDataList() {
            this.predefineds = new PredefineCollection();
            this.methods = new MethodCollection();
            this.properties = new PropertyCollection();
        }

        /// <summary>
        /// Gets the list of Predefineds.
        /// </summary>
        /// <value>
        /// The list of Predefineds.
        /// </value>
        public PredefineCollection Predefineds {
            get {
                return this.predefineds;
            }
        }

        /// <summary>
        /// Gets the list of Methods.
        /// </summary>
        /// <value>
        /// The list of Methods.
        /// </value>
        public MethodCollection Methods {
            get {
                return this.methods;
            }
        }

        /// <summary>
        /// Gets the list of Properties.
        /// </summary>
        /// <value>
        /// The list of Properties.
        /// </value>
        public PropertyCollection Properties {
            get {
                return this.properties;
            }
        }
    }
}
